<%@ page language="java" pageEncoding="UTF-8"%>
<%@ include file="../../public/public.jsp"%>
<html>
	<head>
	
		<link rel="stylesheet" href="<%=path %>/css/backZTreeStyle.css" type="text/css">
		<link type="text/css" rel="stylesheet" href="<%=path %>/css/billRes.css" />
		<script type="text/javascript" src="<%=path %>/js/commom/jquery.js"></script>
        <script type="text/javascript" src="<%=path %>/js/commom/jquery.form.js"></script>
        <script type="text/javascript" src="<%=path %>/js/commom/util.js"></script>
		 <script type="text/javascript" src="<%=path %>/js/commom/jquery.ztree.core-3.5.js"></script>
		 <%-- 
		 <script type="text/javascript" src="<%=path %>/js/commom/jquery.ztree.exedit-3.5.min.js"></script>
		 --%>
		<script type="text/javascript" src="<%=path %>/js/usermanage/dept.js"></script>
		<script type="text/javascript" src="<%=path %>/js/usermanage/user.js"></script>
		<script type="text/javascript" src="<%=path %>/js/usermanage/usersRoles.js"></script>
		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<style type="text/css">
			div#rMenu {position:absolute; visibility:hidden; top:0; background-color: #555;text-align: left;padding: 2px;}
			div#rMenu ul li{
				margin: 1px 0;
				padding: 0 5px;
				cursor: pointer;
				list-style: none outside none;
				background-color: #DFDFDF;
			}
		</style>
	</head>
<body style="margin: 0" onload="treeInit();">
<iframe id="target_upload" name="target_upload" style="display:none"></iframe>
<form id="deptForm" action="dept.action" method="post" target="target_upload">
	<input type="hidden" name="formMap.className" value='<s:property value="formMap.className"/>'> 
	<input type="hidden" name="formMap.allSearch" />
	<input type="hidden" id="po.deptId" name="po.deptId" />
<table  width="100%" height="100%" bgcolor="#999999" border="0" align="center" cellspacing="1">
	<tr>
		<td bgcolor="#FFF7E5" colspan="2"><img src="<%=path %>/img/dh.gif"
			border="0"> <font size=2>&nbsp;[组织架构管理]-->[组织架构列表]</font>
		</td>
	</tr>
	<tr>
		<td width="175" height="100%" valign="top" bgcolor="#FFFFFF" >
		<div style="WIDTH: 175; HEIGHT: 100%; BACKGROUND-COLOR: transparent; 
			OVERFLOW: scroll; scrollbar-face-color: #DBEBFE; 
			scrollbar-shadow-color: #B8D6FA; scrollbar-highlight-color: #FFFFFF; 
			scrollbar-3dlight-color: #DBEBFE; scrollbar-darkshadow-color:#458CE4; 
			scrollbar-track-color: #FFFFFF; scrollbar-arrow-color: #458CE4">
 			<div id="tree" class="ztree"></div>
		</div>
		</td>
		<td width="100%" valign="top" bgcolor="#FFFFFF" >
		<table  width="100%" bgcolor="#999999" border="0" align="center" cellspacing="1">
			<thead>
				<tr height="20">
					<!-- 按钮页面  -->
					<td bgcolor="#3399CC"><font color="white" size="2">[<span id="deptName"></span>]&nbsp;用户列表</font></td>
					<td bgcolor="#3399CC" align="right"><input type="button" value="导出" onclick="exportPart()">&nbsp;
							<input type="button" value="添加" onclick="goAdd()">&nbsp;
							<input type="button" value="删除" onclick="del()">&nbsp;
					</td>
				</tr>
			</thead>
			<tbody>
				<tr>
					<td colspan="2" id="dataList" bgcolor="#FFFFFF" width="70%">
    <table border="0" width="100%" bgcolor="#999999" border"0" align="center" cellspacing="1"> 
    	<thead>
    		<tr height="20" bgcolor="#A0C6E5">
    			<th align="left" width="5%"><input type="checkbox" name="checkAll" onclick="selectAll(this.checked)" alt="全选"></th>
    			<th align="left" width="5%"><font color="snow" size="2">序号</font></th>
    			<th align="left" width="10%"><font color="snow" size="2">登录名</font></th>
    			<th align="left" width="12%"><font color="snow" size="2">中文名</font></th>
    			<th align="left" width="20%"><font color="snow" size="2">全名</font></th>
    			<th align="left" width="10%"><font color="snow" size="2">电话</font></th>
    			<th align="left" width="15%"><font color="snow" size="2">email</font></th>
    			<th align="left" width="10%"><font color="snow" size="2">状态</font></th>
    			<th align="left" width="10%"><font color="snow" size="2">角色</font></th>
    		</tr>
    	</thead>
		<tfoot>
    		<tr bgcolor="#FFFFFF">
    			<td colspan="20">
    				<ss:page value="pageForm"></ss:page>
    			</td>
    		</tr>
    	</tfoot>
    </table>
					</td>
				</tr>
			</tbody>
		</table>
		</td>
	</tr>
</table>
</form>
<div id="rMenu">
	<ul>
		<li id="m_add" onclick="goAddDept();">增加部门</li>
		<li id="m_modify" onclick="goUpdateDept();">修改部门</li>
		<li id="m_del" onclick="delDept();">删除部门</li>
	</ul>
</div>
</body>
</html>
